/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #f59e0b;
    --accent: #f97316;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #06b6d4;
    --light: #f3f4f6;
    --dark: #1f2937;
    --white: #ffffff;
    --bg-light: #f9fafb;
    --card-bg: #ffffff;
    --text: #111827;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --gradient-accent: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--bg-light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-container {
    padding: 2rem 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.section-container:nth-child(odd) {
    background-color: var(--bg-light);
}

.section-container:nth-child(even) {
    background-color: var(--white);
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-icon {
    background: var(--gradient);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--white);
    box-shadow: var(--shadow);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.content-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.content-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #818cf8 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.1)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.7;
}

.text-gradient {
    background: linear-gradient(90deg, #ffffff 0%, #f7fafc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-image-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    filter: brightness(110%);
}

.btn-primary:active {
    transform: translateY(1px);
}

.animated-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.animated-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.animated-btn:hover::after {
    left: 100%;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-action:hover {
    background: var(--primary);
    color: var(--white);
}

/* Feature Boxes */
.feature-box {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-box p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Feature Details */
.feature-detail-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-detail-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.feature-detail-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary);
}

.feature-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
}

.feature-list {
    list-style-type: none;
    padding-right: 1rem;
}

.feature-list li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.feature-list li::before {
    content: "●";
    position: absolute;
    right: 0;
    color: var(--primary);
    font-size: 0.7rem;
}

.animated-feature-chart {
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

/* Use Cases */
.use-case-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.use-case-card.active {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    background-color: rgba(99, 102, 241, 0.05);
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.use-case-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.use-case-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.use-case-detail-container {
    margin-top: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.use-case-detail {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.use-case-detail.active {
    display: block;
}

.use-case-mini-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.use-case-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.use-case-mini-card h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
}

/* ROI Analysis */
.roi-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.roi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.roi-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.roi-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.chart-container {
    width: 100%;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow);
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.pricing-table th, .pricing-table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid var(--border);
}

.pricing-table th {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--dark);
    font-weight: 600;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover td {
    background-color: rgba(249, 250, 251, 0.5);
}

/* Reviews Section */
.reviews-summary {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.rating-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.rating-circle span {
    font-size: 2.5rem;
    line-height: 1;
}

.rating-circle small {
    font-size: 1rem;
    opacity: 0.8;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.star-filled {
    color: var(--secondary);
}

.star-empty {
    color: var(--border);
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.pros-section, .cons-section {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.pros-section h4, .cons-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pros-section ul, .cons-section ul {
    list-style-type: none;
    padding-right: 1rem;
}

.pros-section li, .cons-section li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.5rem;
}

.pros-section li::before, .cons-section li::before {
    content: "●";
    position: absolute;
    right: 0;
    font-size: 0.7rem;
}

.pros-section li::before {
    color: var(--success);
}

.cons-section li::before {
    color: var(--danger);
}

.reviews-container {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 100%;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    margin: 0 0.5rem;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
}

.review-content {
    color: var(--text-light);
    font-style: italic;
}

.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.review-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.review-nav-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Recommendation Section */
.recommendation-banner {
    background: var(--gradient);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.with-conditions {
    font-weight: normal;
    opacity: 0.9;
    font-size: 0.85em;
}

.recommendation-content {
    padding: 0 1rem;
}

.recommendation-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recommendation-point, .condition-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
}

.recommendation-point:hover, .condition-point:hover {
    transform: translateY(-3px);
}

.point-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.point-icon-condition {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.recommendation-point h5, .condition-point h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.conclusion {
    background-color: rgba(99, 102, 241, 0.05);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    border-right: 4px solid var(--primary);
}

.recommendation-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Info Callouts */
.info-callout {
    background-color: rgba(6, 182, 212, 0.1);
    border-radius: var(--border-radius);
    padding: 1rem;
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    border-right: 4px solid var(--info);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo h2 span {
    color: var(--primary-light);
}

.footer-logo p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-credits {
    font-size: 0.875rem;
    color: var(--text-light);
}

.footer-credits a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-credits a:hover {
    color: var(--white);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    width: 
100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close:hover {
    color: var(--danger);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-family: 'Tajawal', sans-serif;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }

    .feature-box,
    .feature-detail-card,
    .use-case-card,
    .roi-card {
        margin-bottom: 1rem;
    }

    .recommendation-action-buttons {
        flex-direction: column;
    }

    .btn-action {
        width: 100%;
    }

    .reviews-track {
        flex-wrap: nowrap;
    }

    .review-card {
        flex: 0 0 100%;
    }
}
